package tables

type IdpClient struct {
	Id              int64  `json:"id,string" gorm:"primaryKey;comment:'设备id'"`
	BiosSerial      string `json:"biosSerial" gorm:"comment:'bios序列号'"` // bios序列号
	MainBoardSerial string `json:"mainBoardSerial" gorm:"comment:'主板序列号'"`
	HardDiskSerial  string `json:"hardDiskSerial"`
	ActiveMAC       string `json:"activeMAC" gorm:"column:active_mac"`
	IP              string `json:"ip"`
	Hostname        string `json:"hostname"`
	CreatedAt       int64  `json:"createdAt,string"`
	IsOverlap       bool   `json:"isOverlap" gorm:"comment:'设备信息是否存在重复的可能'"`
}

func (r *IdpClient) TableName() string {
	return "idp_client"
}
